#!/bin/bash
set -e
pwd
service="darly-enoad-umi-web";
echo "开始启动微前端-------->"$service""
echo "先查看目录"$service"如果存在则继续向下执行"
if [ ! -d $service ]; then
  exit 1; 
fi
cd $service
echo "开始构建-------->"$service
yarn
echo "启动成功-------->"$service
yarn start
#打开服务darly-enoad-service